package own.stu.jobgib.playown.dp.adpater.refactor_1;

import lombok.Data;

import java.util.List;

@Data
public class RiskManagement {

    List<AAdapterFilter> filterList;

    public String filterSensitiveWords(String text) {
        String result = text;
        for (AAdapterFilter filter : filterList) {
            result = filter.filter(result);
        }
        return result;
    }
}
